projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b56e02
)
(Fsingle_key_description): Fix previous change.
author
Richard M. Stallman
<rms@gnu.org>
Sat, 28 Nov 1998 22:16:09 +0000
(22:16 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Sat, 28 Nov 1998 22:16:09 +0000
(22:16 +0000)
src/keymap.c
patch
|
blob
|
history
diff --git
a/src/keymap.c
b/src/keymap.c
index 6a7bee4f50cc6568a6dc3603e4826bd33d31e5b4..f96b8d1b78411a670cc26c25351fd86eb352a20d 100644
(file)
--- a/
src/keymap.c
+++ b/
src/keymap.c
@@
-1860,11
+1860,12
@@
Control characters turn into C-whatever, etc.")
if (INTEGERP (key)) /* Normal character */
{
unsigned int charset, c1, c2;
+ int without_bits = XINT (key) & ~((-1) << CHARACTERBITS);
- if (SINGLE_BYTE_CHAR_P (
XINT (key)
))
+ if (SINGLE_BYTE_CHAR_P (
without_bits
))
charset = 0;
else
- SPLIT_NON_ASCII_CHAR (
XINT (key)
, charset, c1, c2);
+ SPLIT_NON_ASCII_CHAR (
without_bits
, charset, c1, c2);
if (charset
&& ((c1 >= 0 && c1 < 32)